package com.cys.dm.client.pay;

import com.cys.dm.entity.pay.DmTrade;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author blue_t
 * @date 2020-12-30 9:59
 */
@FeignClient(name = "dm-pay-provider")
@Component
public interface DmTradeClient {
    @PostMapping(path = "/addTrade")
    public Integer addTrade(@RequestBody DmTrade dmTrade);
}
